package syntaxtree;
import visitor.TranslateVisitor;
import visitor.Visitor;
import visitor.TypeVisitor;

/**
 * 
 * */
public class And extends syntaxtree.Exp{
  
	/***/
	public syntaxtree.Exp e1,e2;
  
	/**
	 * 
	 * */
	public And(syntaxtree.Exp ae1, syntaxtree.Exp ae2) { 
	  e1=ae1; 
	  e2=ae2;
  	}

	/**
	 * 
	 * */
  	public void accept(Visitor v) {
  		v.visit(this);
  	}

	/**
	 * 
	 * */
  	public Type accept(TypeVisitor v) {
	  return v.visit(this);
  	}
  
	/**
	 * 
	 * */
  	public translate.activationRegister.util.Exp accept(TranslateVisitor v){
	  return v.visit(this);
  	}

}
